#ifndef SIMPLE_TIME_H
#define SIMPLE_TIME_H
#include "stdint.h"
typedef uint32_t (*GetTime)(void);
typedef struct
{
	long      time;
	uint32_t  time_max;
	GetTime   get_time;
}Simple_time_t;

void SimpleTime_Init(GetTime get_time,uint32_t max);
long Simple_micros(void);
void Simple_Delay(int time);
void Simple_DelayMicroseconds(int time);
void Simple_TimeOver(void);
#endif // PID_H
